package com.zhongfl.crm.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 励销附件实体类
 *
 * @author tiantian
 * @date 2018/9/20 20:29
 */
@Data
public class LxAttachment implements Serializable {

    private static final long serialVersionUID = -1910273083786381626L;
    /**
     * 励销附件id
     */
    private Long id;

    /**
     * file url
     */
    private String fileUrl;

    /**
     * origin url
     */
    private String originUrl;

    /**
     * public url
     */
    private String publicUrl;

    /**
     * 文件名
     */
    private String name;

    /**
     * 文件类型
     */
    private String fileContentType;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 附件ID
     */
    private Long attachmentableId;

    /**
     * 附件类型
     */
    private String attachmentableType;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 留言
     */
    private String note;

    /**
     * 类型，图片类型为：image
     */
    private String subType;

    /**
     * 微信媒体ID
     */
    private String wxMediaId;

    /**
     * 跟进类型, 如客户订单Opportunity
     * @see com.zhongfl.crm.request.RequestConstant
     */
    private String loggableType;

    /**
     * 跟进实体id, 如81125
     */
    private Long loggableId;

    /**
     * 关联跟进记录对象ID
     */
    private Long parentRevisitLogId;

}
